package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.OaInvoiceApplication;

/**
 * 发票开具申请单Mapper接口
 *
 * @author ruoyi
 * @date 2025-03-14
 */
public interface OaInvoiceApplicationMapper
{
    /**
     * 查询发票开具申请单
     *
     * @param id 发票开具申请单主键
     * @return 发票开具申请单
     */
    public OaInvoiceApplication selectOaInvoiceApplicationById(Long id);

    /**
     * 查询发票开具申请单列表
     *
     * @param oaInvoiceApplication 发票开具申请单
     * @return 发票开具申请单集合
     */
    public List<OaInvoiceApplication> selectOaInvoiceApplicationList(OaInvoiceApplication oaInvoiceApplication);

    /**
     * 新增发票开具申请单
     *
     * @param oaInvoiceApplication 发票开具申请单
     * @return 结果
     */
    public int insertOaInvoiceApplication(OaInvoiceApplication oaInvoiceApplication);

    /**
     * 修改发票开具申请单
     *
     * @param oaInvoiceApplication 发票开具申请单
     * @return 结果
     */
    public int updateOaInvoiceApplication(OaInvoiceApplication oaInvoiceApplication);

    /**
     * 删除发票开具申请单
     *
     * @param id 发票开具申请单主键
     * @return 结果
     */
    public int deleteOaInvoiceApplicationById(Long id);

    /**
     * 批量删除发票开具申请单
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteOaInvoiceApplicationByIds(Long[] ids);

    void delete(Integer id);
}
